<script>
    function spawnEvilPopup() {
      const popup = document.createElement('dialog');
      popup.innerHTML = `<h2 style="color:red">⚠️ 检测到幽默感缺失！</h2>
                        <button onclick="this.parentElement.close()">关闭</button>`;
      popup.style.cssText = `position:fixed; 
                            left:${Math.random()*70}%;
                            top:${Math.random()*70}%;
                            box-shadow:0 0 30px red;`;
      
      popup.addEventListener('mouseenter', () => {
        popup.style.transform = `translate(${Math.random()*200-100}px, ${Math.random()*200-100}px)`;
      });
      
      document.body.appendChild(popup);
      popup.showModal();
    }
    setInterval(spawnEvilPopup, 30000); // 每30秒生成一个
    </script>
    
